package com.uni.service.impl;


import com.uni.common.util.PageBean;
import com.uni.entity.OverSeasInfo;
import com.uni.mapper.OverSeasInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OverSeasInfoService {

    @Autowired
    private OverSeasInfoMapper overSeasInfoMapper;

    public List<OverSeasInfo> findList(PageBean<OverSeasInfo> pageBean){
        return overSeasInfoMapper.findList(pageBean);
    }

    public int countList(PageBean<OverSeasInfo> pageBean){
        return overSeasInfoMapper.countList(pageBean);
    }

    public Integer insert(OverSeasInfo overseasRealEstate){
        return overSeasInfoMapper.insert(overseasRealEstate);
    }

    public Integer update(OverSeasInfo overseasRealEstate){
        return overSeasInfoMapper.update(overseasRealEstate);
    }
    public Integer delete(List<String> ids){
        return overSeasInfoMapper.delete(ids);
    }
}
